package org.aizuomeng.common.api;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @email 839013329@qq.com
 * @author: LuHaoLong
 * @date: 2021/12/29
 * @time: 10:39
 * @description:
 */
@Data
public class LoginUser implements Serializable {
    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.NONE)
    private String id;

    @ApiModelProperty("登录账号")
    @TableField("username")
    private String username;

    @ApiModelProperty("真实姓名")
    @TableField("realname")
    private String realname;

    @ApiModelProperty("电话")
    @TableField("phone")
    private String phone;
}
